{include file="header.tpl" title="chi tiet par_ssrptquote"}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="18%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<td colspan="7"><hr></td>
</tr>
  <tr>
  	<td colspan="8"><!--<input type="submit" id="getName" name="getName" value="   " style="visibility:hidden;"/> onchange="document.getElementById('getName').click();" --></td>
    </tr>
  
  <tr>
    <td width="18%">{$lbl_QGRPCODE}</td>
    <td colspan="2"><span style="color:#FF0000;">
      <select name="QGRPCODE" id="QGRPCODE" size="1"  style="background-color:{$color_CMFLD};" onchange="document.getElementById('tmpQGRPCODE').value=this.value;">
        <option value=""/></option>
        </option>	
 		{foreach from=$cbo_QGRPCODE key=k item=v}
        <option value="{$k}" {if $QGRPCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}  
      </select>
      <input type="hidden" id="tmpQGRPCODE" name="tmpQGRPCODE" value="{$QGRPCODE}"/>
* </span></td>
    <td width="17%">&nbsp;</td>
    <td width="14%">&nbsp;</td>
    <td width="19%">&nbsp;</td>
  </tr>
  <tr>
    <td width="18%">{$lbl_QSEQNO}</td>
    <td width="17%"><input name="QSEQNO" type="text" id="QSEQNO" value="{$QSEQNO}" size="7" maxlength="20" onkeypress="return numberOnly(event);" />
      <span style="color:#FF0000;">*</span> <span style="color:#FF0000;">
      <input type="submit" name="find" value="    " id="replacement_find" />
      </span></td>
    <td width="15%">{$lbl_VNDESC}</td>
    <td><input name="VNDESC" type="text" id="VNDESC" value="{$VNDESC}" size="20" maxlength="50" readonly="readonly" /></td>
    <td>{$lbl_ENDESC}</td>
    <td><input name="ENDESC" type="text" id="ENDESC" value="{$ENDESC}" size="20" maxlength="50" readonly="readonly" /></td>
  </tr>
  <tr>
    <td width="18%">{$lbl_PRIORITY}</td>
    <td><span style="color:#FF0000;">
      <select name="PRIORITY" disabled="disabled" id="PRIORITY" size="1"   style="background-color:{$color_PRIORITY};">
       <option value=""/></option>
        </option>		
 		{foreach from=$cbo_PRIORITY key=k item=v}
        <option value="{$k}" {if $PRIORITY eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}
      </select>
    </span></td>
    <td>{$lbl_MAN}</td>
    <td><span style="color:#FF0000;">
      <select name="MAN" id="MAN" size="1" disabled="disabled"   style="background-color:{$color_MAN};">
         <option value=""/></option>
        </option>
        </option> 		
 		{foreach from=$cbo_MAN key=k item=v}
        <option value="{$k}" {if $MAN eq $k} selected="selected" {/if}>{$k} - {$v}</option> 
 		{/foreach}
      </select>
    </span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
  	 <td width="18%"><input name="TOTAL" id="TOTAL" type="hidden"/></td>
    <td colspan="7">&nbsp;</td>
    </tr>
<tr>
<td colspan="7">
<div align="center" style="width:680px;height:300px;overflow:auto;border:1px solid #6B82AC;">
<table width="100%" border="0" cellpadding="0" cellspacing="1" id="tblSample">
  <thead>
  <tr>
    <th nowrap="nowrap">{$lbl_QGRPCODE}</th>
    <th nowrap="nowrap">{$lbl_QSEQNO}</th>
    <th nowrap="nowrap">{$lbl_VNDESC}</th>
	<th nowrap="nowrap">{$lbl_ENDESC}</th>
	<th nowrap="nowrap">{$lbl_PRIORITY}</th>
	<th nowrap="nowrap">{$lbl_MAN}</th>
	</tr>
  </thead> 
 
  <tbody>{$tbldata}</tbody>
</table>
</div></td>
<tr>
<td colspan="7"></td>
</tr>
<tr>
<td colspan="7" align="right"><div align="left">
  <input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
  <input name="maintain" type="submit" value="{$ten_baotri}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
</div></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
